﻿var include = (function () {
	var _defaults = [],
		_scripts = _defaults,
		_include = function () {
			if (arguments) {
				for (var i in arguments) {
					_scripts.push(arguments[i]);
				}
			}
			if (_scripts.length) _getter(_scripts.shift());
		},
		_getter = function (url) {
			var head = document.head || document.getElementsByTagName("head")[0] || document.documentElement;
			var script = document.createElement("script");
			script.src = url;
			var done = false;
			script.onload = script.onreadystatechange = function () {
				if (!done && (!this.readyState || this.readyState === "loaded" || this.readyState === "complete")) {
					done = true;
					_include();
					script.onload = script.onreadystatechange = null;
					if (head && script.parentNode) { head.removeChild(script); }
				}
			};
			head.appendChild(script, head.firstChild);
		};
	return _include;
})();
include("BangoApplicationAnalyticsSDK/md5.js", "BangoApplicationAnalyticsSDK/json2.js", "BangoApplicationAnalyticsSDK/BangoSessionEvents.js", "BangoApplicationAnalyticsSDK/BangoConstants.js", "BangoApplicationAnalyticsSDK/BangoStorage.js", "BangoApplicationAnalyticsSDK/BangoEventParameter.js", "BangoApplicationAnalyticsSDK/BangoEvent.js", "BangoApplicationAnalyticsSDK/BangoProfile.js", "BangoApplicationAnalyticsSDK/BangoLoggingLevel.js", "BangoApplicationAnalyticsSDK/BangoPoster.js", "BangoApplicationAnalyticsSDK/BangoLogger.js", "BangoApplicationAnalyticsSDK/BangoAgent.js");
